<?php

interface IActivity {
  public function start();
  public function finish ( );
}


interface IDatabase {
  public function get( $sql );
  public function process( $sql );
  public function commit( );
  public function rollback( );

  public function transaction();  // sets the auto commit to 0
//  public function transaction_end();  // sets the auto commit to 1

  public function get_last_id( );

}

?>
